<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../00-source/jquery.min.js"></script>
    <style>
        ul{
            list-style: none;
        }
        li::before{
            content: '+';
        }
        li.active::before{
            content: '-';
        }
    </style>
</head>
<body>
    <ul id="outer">
        <li class="active">111
            <ul>
                <li>111-1</li>
                <li>111-2</li>
                <li>111-3</li>
            </ul>
        </li>
        <li>222
            <ul>
                <li>222-1</li>
                <li>222-2</li>
                <li>222-3</li>
            </ul>
        </li>
        <li>333
            <ul>
                <li>333-1</li>
                <li>333-2</li>
                <li>333-3</li>
            </ul>
        </li>
    </ul>
    <script>
        $('li>ul').slideUp(0)
        $('li.active>ul').slideDown(0)
        $('#outer>li').click(function(){
            $(this).siblings().removeClass()
            $(this).toggleClass('active')
            $(this).siblings().slideDown(200)
            $(this).children().slideToggle(200)
        })
    </script>
</body>
</html>